package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Favorites;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

public interface IFavoritesService {
    void insertFavorites(Favorites favorites);

    void deleteFavorites(Favorites favorites);

    PageInfo<?> getStrategyFavoritesByUserId(QueryObject qo);

    Long getStrategyFavoritesCounts(Long userId);

    PageInfo<?> getTravelFavoritesByUserId(QueryObject qo);

    Long getTravelFavoritesCounts(Long userId);

    PageInfo<?> getDailyFavoritesByUserId(QueryObject qo);

    Long getDailyFavoritesCounts(Long userId);
}